package com.cqjtu.drive.service;

import com.cqjtu.drive.pojo.Reservation;
import com.cqjtu.drive.response.Response;

import java.util.List;
import java.util.Map;

public interface ReservationService {

    Map<String,String> getReservationById(String reserveId);

    Response<String> insertReservation(Reservation reservation);

    Response<String> updateReservation1(Reservation reservation);
    Response<String> updateReservation2(Reservation reservation);

    Response<String> deleteReservation(String reserveId);

    List<Map<String,String>> getAllReservations();
    List<Map<String,String>> getAllReservationsWithAccept0();
    List<Map<String,String>> getAllReservationsWithFinish1(String coId);
    List<Map<String,String>> getReservationsByStudentId(String sId);
    List<Map<String,String>> getBycoId(String coId);
}
